/*
 * LeegIinfoPanel.java
 *
 * Created on 19 mei 2008, 11:55
 */

package be.hogent.iii.project.client.gui.gameroom;

import java.io.File;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;

/**
 *
 * @author  Dieter Van der Stock
 */
public class LeegInfoPanel extends javax.swing.JPanel {
    
    /** Creates new form LeegIinfoPanel */
    public LeegInfoPanel() {
        initComponents();
        File bestand = new File("src\\be\\hogent\\iii\\project\\gui\\images\\civbasic5.jpg");
        try {
            labelNaam.setIcon(new ImageIcon(ImageIO.read(bestand)));
        }
        catch(Exception ex) {
            System.out.println("Starticoon plaatsen mislukt.");
            labelNaam.setText("CivBasic");
        }
    }
    
    

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        labelNaam = new javax.swing.JLabel();

        setBackground(new java.awt.Color(0, 0, 0));

        labelNaam.setFont(new java.awt.Font("Tahoma", 1, 72));
        labelNaam.setForeground(new java.awt.Color(204, 102, 0));
        labelNaam.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addComponent(labelNaam, javax.swing.GroupLayout.PREFERRED_SIZE, 573, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(20, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(21, 21, 21)
                .addComponent(labelNaam, javax.swing.GroupLayout.PREFERRED_SIZE, 356, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(20, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel labelNaam;
    // End of variables declaration//GEN-END:variables
    
}
